package com.example.demo.mapper;

import com.example.demo.entity.Ticket;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TicketMapper {
    int insertTicket(Ticket ticket);

    int updateTicket(Ticket ticket);

    List<Ticket> selectTickets(Ticket ticket);

    int deleteTicket(Integer id);
}
